package com.yl.home.ui

import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.yl.common.base.BaseActivity
import com.yl.common.exp.Constants
import com.yl.home.R
import com.yl.home.databinding.ActivityHomeBinding

@Route(path = Constants.HOME_ACTIVITY)
class HomeActivity : BaseActivity<ActivityHomeBinding>() {
    override fun getLayoutID() = R.layout.activity_home

    override fun init() {
        mBind.btnBack.setOnClickListener {
//            startActivity<HomeActivity>()
            ARouter.getInstance().build(Constants.NAVIGATION_ACTIVITY).navigation()
            finish()

        }
    }

    override fun initData() {

    }
}